projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db376e
)
Handle nil messages in repeat-echo-message.
author
Gabriel do Nascimento Ribeiro
<gabriel376@hotmail.com>
Tue, 24 Aug 2021 14:23:49 +0000
(11:23 -0300)
committer
Juri Linkov
<juri@linkov.net>
Wed, 25 Aug 2021 17:10:28 +0000
(20:10 +0300)
* lisp/repeat.el (repeat-echo-message): Handle cases where
'current-message' is nil (bug#50176).
lisp/repeat.el
patch
|
blob
|
history
diff --git
a/lisp/repeat.el
b/lisp/repeat.el
index 89488ddc98f8390e569f19588dbcea62586281b7..6c3ffec18fcebba8e9ffe7697b994d0589330611 100644
(file)
--- a/
lisp/repeat.el
+++ b/
lisp/repeat.el
@@
-474,8
+474,9
@@
When Repeat mode is enabled, and the command symbol has the property named
(if (current-message)
(message "%s [%s]" (current-message) mess)
(message mess)))
- (when (string-search "Repeat with " (current-message))
- (message nil))))
+ (and (current-message)
+ (string-search "Repeat with " (current-message))
+ (message nil))))
(defvar repeat-echo-mode-line-string
(propertize "[Repeating...] " 'face 'mode-line-emphasis)